<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="200px">
        <AsideMenu />
      </el-aside>
      <el-container>
        <el-header>
          <HanderMenu />
        </el-header>
        <el-main>
          <Table/>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import AsideMenu from "../../components/AsideMenu.vue";
import HanderMenu from "../../components/HanderMenu.vue";
import Table from "../../components/Table.vue";

export default defineComponent({
  name: "Index",
  components: {
    AsideMenu,
    HanderMenu,
    Table
  },
  setup() {
    return {
      
    };
  },
});
</script>

<style lang="less" scoped>
.el-container,
.common-layout {
  height: 100%;
}
.el-header {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #545c64;
  color: #333;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  line-height: 0px;
  padding: 0;
  border: 0px;
}
</style>